package com.yanqu.road.entity.log.daomu;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_activity_daomu_log_level_upgrade", autoSave = true, dataUpload = true, eventName = "tougold_pylev", uploadCk = true, desc = "盗墓-等级升级")
public class LogDaoMuLevelUpgrade extends ServerBaseLog {

    /**
     * 活动ID
     */
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    
    /**
     * 玩家ID
     */
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;

    /**
     * 升级后等级
     */
    @FieldTypeAnnotation(desc = "升级后等级", dataAttribute = "after_level")
    private int level;

    /**
     * 升级前等级
     */
    @FieldTypeAnnotation(desc = "升级前等级", dataAttribute = "before_level")
    private int preLevel;

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getUserId() {
        return userId;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getLevel() {
        return level;
    }

    public void setPreLevel(int preLevel) {
        this.preLevel = preLevel;
    }

    public int getPreLevel() {
        return preLevel;
    }
}
